package com.service.business.otc.controller.rep;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class OrderTradeDetail {

    // 买入(卖出)会员id
    private String memberName;

    // 买入(卖出)数量
    private BigDecimal buyNum;

    // 买入(卖出)单价
    private BigDecimal otcPrice;

    // 交易总金额
    private BigDecimal payMoney;

    // 货币名称
    private String coinsName;

    // 交易货币名称
    private String tradeCoinsName;

    // 交易类型(1:买入;2:卖出)
    private Integer detailType;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

}
